package com.shupian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shupian.domain.ResponseResult;
import com.shupian.domain.dto.CategoryAddDto;
import com.shupian.domain.entity.Category;
import com.shupian.domain.vo.CategoryPageVo;


/**
 * 分类表(Category)表服务接口
 *
 * @author makejava
 * @since 2022-05-17 21:13:12
 */
public interface CategoryService extends IService<Category> {

    ResponseResult getCategoryList();

    ResponseResult getAllCategory();

    ResponseResult getPageList(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult addCategory(CategoryAddDto categoryAddDto);

    ResponseResult updateCategory(CategoryPageVo categoryPageVo);
}

